package com.bookyourtrek.action;

import java.io.File;
import java.util.ArrayList;
import java.util.List;

import com.opensymphony.xwork2.ActionSupport;


/**
 * @author ananda
 * @category event
 * class related to event creation 
 *
 */
public class CreateAdventureAction extends ActionSupport{
	private static final long serialVersionUID = 1L;

	private String trektitle;
	private String location;
	private String locationdetail;
	private String date;
	private String gender;
	private String duration;
	private String distance;
	private String difficultylevel;
	private String trekplan;
	private List<String> gears;
	private String organizationname;
	private String organizationphone;
	private String status;
	
	//tkt related 
	private String tkttype;
	private Integer tktquantity;
	private String tktamount;
	private String tktenddate;
	private String tktdescription;
	private Integer tktallowedperorder;
	
	//image related
	private List<File> fileUpload = new ArrayList<File>();
	private List<String> fileUploadContentType = new ArrayList<String>();
	private List<String> fileUploadFileName = new ArrayList<String>();
	private ArrayList<String> tmppics = new ArrayList<String>();
	public String getTrektitle() {
		return trektitle;
	}
	public void setTrektitle(String trektitle) {
		this.trektitle = trektitle;
	}
	public String getLocation() {
		return location;
	}
	public void setLocation(String location) {
		this.location = location;
	}
	public String getLocationdetail() {
		return locationdetail;
	}
	public void setLocationdetail(String locationdetail) {
		this.locationdetail = locationdetail;
	}
	public String getDate() {
		return date;
	}
	public void setDate(String date) {
		this.date = date;
	}
	public String getGender() {
		return gender;
	}
	public void setGender(String gender) {
		this.gender = gender;
	}
	public String getDuration() {
		return duration;
	}
	public void setDuration(String duration) {
		this.duration = duration;
	}
	public String getDistance() {
		return distance;
	}
	public void setDistance(String distance) {
		this.distance = distance;
	}
	public String getDifficultylevel() {
		return difficultylevel;
	}
	public void setDifficultylevel(String difficultylevel) {
		this.difficultylevel = difficultylevel;
	}
	public String getTrekplan() {
		return trekplan;
	}
	public void setTrekplan(String trekplan) {
		this.trekplan = trekplan;
	}
	public List<String> getGears() {
		return gears;
	}
	public void setGears(List<String> gears) {
		this.gears = gears;
	}
	public String getOrganizationname() {
		return organizationname;
	}
	public void setOrganizationname(String organizationname) {
		this.organizationname = organizationname;
	}
	public String getOrganizationphone() {
		return organizationphone;
	}
	public void setOrganizationphone(String organizationphone) {
		this.organizationphone = organizationphone;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getTkttype() {
		return tkttype;
	}
	public void setTkttype(String tkttype) {
		this.tkttype = tkttype;
	}
	public Integer getTktquantity() {
		return tktquantity;
	}
	public void setTktquantity(Integer tktquantity) {
		this.tktquantity = tktquantity;
	}
	public String getTktamount() {
		return tktamount;
	}
	public void setTktamount(String tktamount) {
		this.tktamount = tktamount;
	}
	public String getTktenddate() {
		return tktenddate;
	}
	public void setTktenddate(String tktenddate) {
		this.tktenddate = tktenddate;
	}
	public String getTktdescription() {
		return tktdescription;
	}
	public void setTktdescription(String tktdescription) {
		this.tktdescription = tktdescription;
	}
	public Integer getTktallowedperorder() {
		return tktallowedperorder;
	}
	public void setTktallowedperorder(Integer tktallowedperorder) {
		this.tktallowedperorder = tktallowedperorder;
	}
	public List<File> getFileUpload() {
		return fileUpload;
	}
	public void setFileUpload(List<File> fileUpload) {
		this.fileUpload = fileUpload;
	}
	public List<String> getFileUploadContentType() {
		return fileUploadContentType;
	}
	public void setFileUploadContentType(List<String> fileUploadContentType) {
		this.fileUploadContentType = fileUploadContentType;
	}
	public List<String> getFileUploadFileName() {
		return fileUploadFileName;
	}
	public void setFileUploadFileName(List<String> fileUploadFileName) {
		this.fileUploadFileName = fileUploadFileName;
	}
	public ArrayList<String> getTmppics() {
		return tmppics;
	}
	public void setTmppics(ArrayList<String> tmppics) {
		this.tmppics = tmppics;
	}
	/**
	 * @return success
	 * @author ananda
	 * @category event
	 * loads event creation page
	 */
	public static String createadventure() {
		return SUCCESS;
	}
}
